package com.itcat.mysql.vo;

import com.itcat.mysql.pojo.OmsOrder;
import com.itcat.mysql.pojo.OmsOrderItem;
import com.itcat.mysql.pojo.OmsOrderOperateHistory;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OmsOrderVo extends OmsOrder implements Serializable {

   // private OmsOrder omsOrder;

    private List<OmsOrderItem> orderItemList;

    private List<OmsOrderOperateHistory> historyList;

    /* private Long id;

     *//**
     * 订单id
     *//*
    private Long orderId;

    *//**
     * 订单编号
     *//*
    private String orderSn;

    *//**
     *
     *//*
    private Long productId;

    *//**
     *
     *//*
    private String productPic;

    *//**
     *
     *//*
    private String productName;

    *//**
     *
     *//*
    private String productBrand;

    *//**
     *
     *//*
    private String productSn;

    *//**
     * 销售价格
     *//*
    private BigDecimal productPrice;

    *//**
     * 购买数量
     *//*
    private Integer productQuantity;

    *//**
     * 商品sku编号
     *//*
    private Long productSkuId;

    *//**
     * 商品sku条码
     *//*
    private String productSkuCode;

    *//**
     * 商品分类id
     *//*
    private Long productCategoryId;

    *//**
     * 商品促销名称
     *//*
    private String promotionName;

    *//**
     * 商品促销分解金额
     *//*
    private BigDecimal promotionAmount;

    *//**
     * 优惠券优惠分解金额
     *//*
    private BigDecimal couponAmount;

    *//**
     * 积分优惠分解金额
     *//*
    private BigDecimal integrationAmount;

    *//**
     * 该商品经过优惠后的分解金额
     *//*
    private BigDecimal realAmount;

    *//**
     *
     *//*
    private Integer giftIntegration;

    *//**
     *
     *//*
    private Integer giftGrowth;

    *//**
     * 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]
     *//*
    private String productAttr;

    private static final long serialVersionUID = 1L;







    *//**
     * 操作人：用户；系统；后台管理员
     *//*
    private String operateMan;

    *//**
     * 操作时间
     *//*
    private Date createTime;

    *//**
     * 订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单
     *//*
    private Integer orderStatus;

    *//**
     * 备注
     *//*
    private String note;
*/
}
